﻿    using System;

namespace CommonDevelop.Ioc
{
    /// <summary>
    /// 依赖解析器
    /// </summary>
    public interface IDependencyResolver
    {
        T Resolve<T>(); //解析注入的服务对象
        T Resolve<T>(string name);
        object Resolve(Type type);
        object Resolve(string serviceName, Type serviceType);
    }
}
